home *** CD-ROM | disk | FTP | other *** search
/ Die Speccy' 97 / Die Speccy' 97.iso / amiga_system / the_aminet / comm / bbs / daydreambbs114.lha / InstallDD < prev    next >
Text File  |  1995-07-01  |  3KB  |  87 lines

  1. ; DayDream BBS installation program!
  2.  
  3. (set DDVersion "DayDream BBS 1.12")
  4.  
  5.  
  6. (message
  7.         "\nThis installer just creates some directories and copies some files that DayDream BBS requires to work. "
  8.         "Unpack the DayDream BBS distribution archive to the directory you want it to be placed in. "
  9. )
  10.  
  11. (set DestDir (askdir    (prompt "Please Select the directory/partition where you have unpacked DayDream BBS?")
  12.             (help    "This directory is the home of DayDream BBS and all the subdirectories will be placed here.")
  13.             (default "")
  14.              )
  15. )
  16. (makeassign "DayDream" (DestDir))
  17.  
  18. (makedir ("DayDream:Temporary"))
  19. (makedir ("DayDream:Users"))
  20. (makedir ("DayDream:Hold"))
  21. (makedir ("DayDream:Data"))
  22. (makedir ("DayDream:Batch"))
  23. (makedir ("DayDream:Display"))
  24. (makedir ("DayDream:Doors"))
  25. (makedir ("DayDream:Questionnaire"))
  26. (makedir ("DayDream:Logfiles"))
  27.  
  28. (message
  29.         "\nAll required directories have been made!"
  30. )
  31. (copylib
  32.     (prompt "Copying fifo-handler to L:...")
  33.     (help @copylib-help)
  34.     (source ("DayDream:l/fifo-handler"))
  35.     (dest    "L:" )
  36.         (confirm)
  37. )
  38. (copylib
  39.     (prompt "Copying fifo.library to Libs:...")
  40.     (help @copylib-help)
  41.     (source ("DayDream:libs/fifo.library"))
  42.     (dest    "Libs:"  )
  43.         (confirm)
  44. )
  45. (copylib
  46.     (prompt "Copying reqtools.library to Libs:...")
  47.     (help @copylib-help)
  48.     (source ("DayDream:libs/reqtools.library"))
  49.     (dest    "Libs:"  )
  50.         (confirm)
  51. )
  52. (copylib
  53.     (prompt "Copying DreamDoor.library to Libs:...")
  54.     (help @copylib-help)
  55.     (source ("DayDream:libs/DreamDoor.library"))
  56.     (dest    "Libs:"  )
  57.         (confirm)
  58. )
  59. (run "c:protect DayDream:Batch/Logoff1.BAT +s")
  60. (startup "DayDream"
  61. (prompt     "\nSeveral assignments need to be made to your S:User-Startup "
  62.         "file which allow DayDream to find all the files and directories "
  63.         "we've just installed.\n\n"
  64.         "In addition, other actions required by DayDream will be "
  65.         "added."
  66.     )
  67.     (help    "DayDream requires several assignments so that it can find "
  68.         "all it's files.  A couple of assign statements will be made "
  69.         "to your S:User-Startup file, and will also launch "
  70.         "several of the handlers DayDream requires."
  71.     )
  72.     (command
  73.     ("\n"                        )
  74.     ("assign DayDream:     \"%s\"\n" (getassign "DayDream"    ))
  75.     ("assign Doors: DayDream:Doors/\n")
  76.     ("setenv DreamUtils DayDream:Configs/\n")
  77.     ("run <>NIL: L:FIFO-Handler\n"     )
  78.     ("path <>NIL: daydream:utils add\n"     )
  79.     ("rexxmast >NIL:\n\n"             )
  80.     )
  81. )
  82. (run "c:assign Doors: DayDream:Doors/")
  83. (run "setenv DreamUtils DayDream:Configs/")
  84. (run "run <>NIL: L:Fifo-handler")
  85. (run "rexxmast >NIL:")
  86. (run "path <>NIL: DayDream:utils/ add")
  87.